package com.lc.commons;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author luocheng
 * 用springAOP实现日志打印
 */
@Component
@Aspect
public class OperateLog{
	@Before("within(@com.alibaba.dubbo.config.annotation.Service *)")
	public void before() throws Throwable {
		System.out.println("操作日志 操作前");
	}
}
